#import <Foundation/Foundation.h>
@interface NSString (JKHash)
#pragma mark - Hash
@property (readonly) NSString *jk_md5String;
@property (readonly) NSString *jk_sha1String;
@property (readonly) NSString *jk_sha224String;
@property (readonly) NSString *jk_sha256String;
@property (readonly) NSString *jk_sha384String;
@property (readonly) NSString *jk_sha512String;
#pragma mark - HMAC
- (NSString *)jk_hmacMD5StringWithKey:(NSString *)key;
- (NSString *)jk_hmacSHA1StringWithKey:(NSString *)key;
- (NSString *)jk_hmacSHA224StringWithKey:(NSString *)key;
- (NSString *)jk_hmacSHA256StringWithKey:(NSString *)key;
- (NSString *)jk_hmacSHA384StringWithKey:(NSString *)key;
- (NSString *)jk_hmacSHA512StringWithKey:(NSString *)key;
@end
